home *** CD-ROM | disk | FTP | other *** search
/ Champak 26 (Anniversary Edition) / Volume 26 [Anniversary Edition] - JOGO DISK .iso / Puzzle / Cubox.swf / scripts / DefineSprite_237 / frame_5 / DoAction_5.as < prev    next >
Text File  |  2004-06-30  |  9KB  |  381 lines

  1. if(eval("/game:stage") == "3")
  2. {
  3.    moves = "0";
  4.    hold = "0";
  5.    active = "0";
  6.    e_level = "8";
  7.    if(level == "1")
  8.    {
  9.       if(eval("set") == "0")
  10.       {
  11.          set("set","1");
  12.          score += "5";
  13.       }
  14.       active = "0";
  15.       e_moves = "5";
  16.       Blix1 = "0";
  17.       BUMP1 = "0";
  18.       Blix2 = "0";
  19.       BUMP2 = "0";
  20.       Blix3 = slider;
  21.       BUMP3 = "0";
  22.       Blix4 = "0";
  23.       BUMP4 = "0";
  24.       Blix5 = red;
  25.       BUMP5 = "0";
  26.       Blix6 = "0";
  27.       BUMP6 = "0";
  28.       Blix7 = "0";
  29.       BUMP7 = "0";
  30.       Blix8 = "0";
  31.       BUMP8 = "0";
  32.       Blix9 = "0";
  33.       BUMP9 = "0";
  34.       set("table:Blix1","0");
  35.       set("table:BUMP1","0");
  36.       set("table:Blix2","0");
  37.       set("table:BUMP2","0");
  38.       set("table:Blix3","0");
  39.       set("table:BUMP3","0");
  40.       set("table:Blix4",red);
  41.       set("table:BUMP4","0");
  42.       set("table:Blix5",slider);
  43.       set("table:BUMP5","0");
  44.       set("table:Blix6","0");
  45.       set("table:BUMP6","0");
  46.       set("table:Blix7","0");
  47.       set("table:BUMP7","0");
  48.       set("table:Blix8","0");
  49.       set("table:BUMP8","0");
  50.       set("table:Blix9","0");
  51.       set("table:BUMP9","0");
  52.    }
  53.    if(level == "2")
  54.    {
  55.       if(eval("set") == "0")
  56.       {
  57.          set("set","1");
  58.          score += "5";
  59.       }
  60.       active = "0";
  61.       e_moves = "5";
  62.       Blix1 = "0";
  63.       BUMP1 = "0";
  64.       Blix2 = purple;
  65.       BUMP2 = "0";
  66.       Blix3 = "0";
  67.       BUMP3 = "0";
  68.       Blix4 = "0";
  69.       BUMP4 = "0";
  70.       Blix5 = purple;
  71.       BUMP5 = "0";
  72.       Blix6 = "0";
  73.       BUMP6 = "0";
  74.       Blix7 = "0";
  75.       BUMP7 = "0";
  76.       Blix8 = "0";
  77.       BUMP8 = "0";
  78.       Blix9 = slider;
  79.       BUMP9 = "0";
  80.       set("table:Blix1","0");
  81.       set("table:BUMP1","0");
  82.       set("table:Blix2","0");
  83.       set("table:BUMP2","0");
  84.       set("table:Blix3",purple);
  85.       set("table:BUMP3","0");
  86.       set("table:Blix4","0");
  87.       set("table:BUMP4","0");
  88.       set("table:Blix5",slider);
  89.       set("table:BUMP5","0");
  90.       set("table:Blix6","0");
  91.       set("table:BUMP6","0");
  92.       set("table:Blix7","0");
  93.       set("table:BUMP7","0");
  94.       set("table:Blix8","0");
  95.       set("table:BUMP8","0");
  96.       set("table:Blix9",purple);
  97.       set("table:BUMP9","0");
  98.    }
  99.    if(level == "3")
  100.    {
  101.       if(eval("set") == "0")
  102.       {
  103.          set("set","1");
  104.          score += "6";
  105.       }
  106.       active = "0";
  107.       e_moves = "6";
  108.       Blix1 = slider;
  109.       BUMP1 = "0";
  110.       Blix2 = red;
  111.       BUMP2 = "0";
  112.       Blix3 = "0";
  113.       BUMP3 = "0";
  114.       Blix4 = yellow;
  115.       BUMP4 = "0";
  116.       Blix5 = "0";
  117.       BUMP5 = "0";
  118.       Blix6 = "0";
  119.       BUMP6 = "0";
  120.       Blix7 = "0";
  121.       BUMP7 = "0";
  122.       Blix8 = "0";
  123.       BUMP8 = "0";
  124.       Blix9 = red;
  125.       BUMP9 = "0";
  126.       set("table:Blix1","0");
  127.       set("table:BUMP1","0");
  128.       set("table:Blix2","0");
  129.       set("table:BUMP2","0");
  130.       set("table:Blix3","0");
  131.       set("table:BUMP3","0");
  132.       set("table:Blix4","0");
  133.       set("table:BUMP4","0");
  134.       set("table:Blix5",slider);
  135.       set("table:BUMP5","0");
  136.       set("table:Blix6","0");
  137.       set("table:BUMP6","0");
  138.       set("table:Blix7",red);
  139.       set("table:BUMP7","0");
  140.       set("table:Blix8",yellow);
  141.       set("table:BUMP8","0");
  142.       set("table:Blix9",red);
  143.       set("table:BUMP9","0");
  144.    }
  145.    if(level == "4")
  146.    {
  147.       if(eval("set") == "0")
  148.       {
  149.          set("set","1");
  150.          score += "6";
  151.       }
  152.       active = "0";
  153.       e_moves = "6";
  154.       Blix1 = "0";
  155.       BUMP1 = "0";
  156.       Blix2 = green;
  157.       BUMP2 = "0";
  158.       Blix3 = "0";
  159.       BUMP3 = "0";
  160.       Blix4 = slider;
  161.       BUMP4 = "0";
  162.       Blix5 = "0";
  163.       BUMP5 = "0";
  164.       Blix6 = green;
  165.       BUMP6 = "0";
  166.       Blix7 = "0";
  167.       BUMP7 = "0";
  168.       Blix8 = "0";
  169.       BUMP8 = "0";
  170.       Blix9 = "0";
  171.       BUMP9 = "0";
  172.       set("table:Blix1","0");
  173.       set("table:BUMP1","0");
  174.       set("table:Blix2",slider);
  175.       set("table:BUMP2","0");
  176.       set("table:Blix3","0");
  177.       set("table:BUMP3","0");
  178.       set("table:Blix4","0");
  179.       set("table:BUMP4","0");
  180.       set("table:Blix5","0");
  181.       set("table:BUMP5","0");
  182.       set("table:Blix6","0");
  183.       set("table:BUMP6","0");
  184.       set("table:Blix7",green);
  185.       set("table:BUMP7","0");
  186.       set("table:Blix8","0");
  187.       set("table:BUMP8","0");
  188.       set("table:Blix9",green);
  189.       set("table:BUMP9","0");
  190.    }
  191.    if(level == "5")
  192.    {
  193.       if(eval("set") == "0")
  194.       {
  195.          set("set","1");
  196.          score += "6";
  197.       }
  198.       active = "0";
  199.       e_moves = "6";
  200.       Blix1 = slider;
  201.       BUMP1 = "0";
  202.       Blix2 = purple;
  203.       BUMP2 = "0";
  204.       Blix3 = purple;
  205.       BUMP3 = "0";
  206.       Blix4 = "0";
  207.       BUMP4 = "0";
  208.       Blix5 = "0";
  209.       BUMP5 = "0";
  210.       Blix6 = slider;
  211.       BUMP6 = "0";
  212.       Blix7 = purple;
  213.       BUMP7 = "0";
  214.       Blix8 = "0";
  215.       BUMP8 = "0";
  216.       Blix9 = "0";
  217.       BUMP9 = "0";
  218.       set("table:Blix1",purple);
  219.       set("table:BUMP1","0");
  220.       set("table:Blix2",purple);
  221.       set("table:BUMP2","0");
  222.       set("table:Blix3",slider);
  223.       set("table:BUMP3","0");
  224.       set("table:Blix4",purple);
  225.       set("table:BUMP4","0");
  226.       set("table:Blix5","0");
  227.       set("table:BUMP5","0");
  228.       set("table:Blix6","0");
  229.       set("table:BUMP6","0");
  230.       set("table:Blix7",slider);
  231.       set("table:BUMP7","0");
  232.       set("table:Blix8","0");
  233.       set("table:BUMP8","0");
  234.       set("table:Blix9","0");
  235.       set("table:BUMP9","0");
  236.    }
  237.    if(level == "6")
  238.    {
  239.       if(eval("set") == "0")
  240.       {
  241.          set("set","1");
  242.          score += "5";
  243.       }
  244.       active = "0";
  245.       e_moves = "5";
  246.       Blix1 = "0";
  247.       BUMP1 = "0";
  248.       Blix2 = slider;
  249.       BUMP2 = "0";
  250.       Blix3 = "0";
  251.       BUMP3 = "0";
  252.       Blix4 = red;
  253.       BUMP4 = "0";
  254.       Blix5 = "0";
  255.       BUMP5 = "0";
  256.       Blix6 = slider;
  257.       BUMP6 = "0";
  258.       Blix7 = "0";
  259.       BUMP7 = "0";
  260.       Blix8 = "0";
  261.       BUMP8 = "0";
  262.       Blix9 = slider;
  263.       BUMP9 = "0";
  264.       set("table:Blix1","0");
  265.       set("table:BUMP1","0");
  266.       set("table:Blix2","0");
  267.       set("table:BUMP2","0");
  268.       set("table:Blix3",slider);
  269.       set("table:BUMP3","0");
  270.       set("table:Blix4","0");
  271.       set("table:BUMP4","0");
  272.       set("table:Blix5",slider);
  273.       set("table:BUMP5","0");
  274.       set("table:Blix6",red);
  275.       set("table:BUMP6","0");
  276.       set("table:Blix7","0");
  277.       set("table:BUMP7","0");
  278.       set("table:Blix8","0");
  279.       set("table:BUMP8","0");
  280.       set("table:Blix9",slider);
  281.       set("table:BUMP9","0");
  282.    }
  283.    if(level == "7")
  284.    {
  285.       if(eval("set") == "0")
  286.       {
  287.          set("set","1");
  288.          score += "5";
  289.       }
  290.       active = "0";
  291.       e_moves = "5";
  292.       Blix1 = "0";
  293.       BUMP1 = "0";
  294.       Blix2 = yellow;
  295.       BUMP2 = "0";
  296.       Blix3 = "0";
  297.       BUMP3 = "0";
  298.       Blix4 = "0";
  299.       BUMP4 = "0";
  300.       Blix5 = "0";
  301.       BUMP5 = "0";
  302.       Blix6 = slider;
  303.       BUMP6 = "0";
  304.       Blix7 = slider;
  305.       BUMP7 = "0";
  306.       Blix8 = "0";
  307.       BUMP8 = "0";
  308.       Blix9 = "0";
  309.       BUMP9 = "0";
  310.       set("table:Blix1","0");
  311.       set("table:BUMP1","0");
  312.       set("table:Blix2","0");
  313.       set("table:BUMP2","0");
  314.       set("table:Blix3",slider);
  315.       set("table:BUMP3","0");
  316.       set("table:Blix4","0");
  317.       set("table:BUMP4","0");
  318.       set("table:Blix5",slider);
  319.       set("table:BUMP5","0");
  320.       set("table:Blix6","0");
  321.       set("table:BUMP6","0");
  322.       set("table:Blix7",yellow);
  323.       set("table:BUMP7","0");
  324.       set("table:Blix8","0");
  325.       set("table:BUMP8","0");
  326.       set("table:Blix9","0");
  327.       set("table:BUMP9","0");
  328.    }
  329.    if(level == "8")
  330.    {
  331.       if(eval("set") == "0")
  332.       {
  333.          set("set","1");
  334.          score += "4";
  335.       }
  336.       active = "0";
  337.       e_moves = "4";
  338.       Blix1 = "0";
  339.       BUMP1 = "0";
  340.       Blix2 = slider;
  341.       BUMP2 = "0";
  342.       Blix3 = slider;
  343.       BUMP3 = "0";
  344.       Blix4 = "0";
  345.       BUMP4 = "0";
  346.       Blix5 = blue;
  347.       BUMP5 = "0";
  348.       Blix6 = "0";
  349.       BUMP6 = "0";
  350.       Blix7 = blue;
  351.       BUMP7 = "0";
  352.       Blix8 = "0";
  353.       BUMP8 = "0";
  354.       Blix9 = "0";
  355.       BUMP9 = "0";
  356.       set("table:Blix1",slider);
  357.       set("table:BUMP1","0");
  358.       set("table:Blix2","0");
  359.       set("table:BUMP2","0");
  360.       set("table:Blix3","0");
  361.       set("table:BUMP3","0");
  362.       set("table:Blix4","0");
  363.       set("table:BUMP4","0");
  364.       set("table:Blix5",slider);
  365.       set("table:BUMP5","0");
  366.       set("table:Blix6",blue);
  367.       set("table:BUMP6","0");
  368.       set("table:Blix7","0");
  369.       set("table:BUMP7","0");
  370.       set("table:Blix8",blue);
  371.       set("table:BUMP8","0");
  372.       set("table:Blix9","0");
  373.       set("table:BUMP9","0");
  374.    }
  375.    tellTarget("table")
  376.    {
  377.       gotoAndStop(2);
  378.    }
  379.    gotoAndStop(15);
  380. }
  381.